package edu.cibertec.alquiler.service;

import org.eclipse.persistence.internal.databaseaccess.DatabaseCall;

import edu.cibertec.alquiler.factory.DAOFactory;



public class ApplicationBusinessDelegate {

	// Se especifica la factoria con la cual trabajamos
	// Se hace aqui para no ejecutarlo en cada Service.
	public VideoService getVideoService() {
		return new VideoDaoService( DAOFactory.JPA );
	}
	
	public UsuarioService getUsuarioService(){
		return new UsuarioDaoService(DAOFactory.JPA);
	}
	
	public CombosService getCombosService(){
		return new CombosDaoService(DAOFactory.JPA);
	}
	
	public ReportesService getReportesService(){
		return new ReportesDaoService(DAOFactory.JPA);
	}
}
